local extension = Package:new("kaihei_cards", Package.CardPack)
extension.extensionName = "est_test"
extension:loadSkillSkelsByPath("./packages/est_test/pkg/kaihei_cards/skills")
Fk:loadTranslationTable{
  ["kaihei_cards"] = "开黑季卡牌（半成品）",
}

local big_master = fk.CreateCard{
  type = Card.TypeTrick,
  name = "&big_master",
  skill = "big_master_skill",
  multiple_targets = true,
}
Fk:loadTranslationTable{
  ["big_master"] = "大师",
  [":big_master"] = "锦囊牌<br /><b>时机</b>：出牌阶段<br /><b>目标</b>：两名其他角色<br /><b>效果</b>：交换目标角色的手牌。",
}

local affluence = fk.CreateCard{
  type = Card.TypeTrick,
  name = "&affluence",
  skill = "affluence_skill",
}
Fk:loadTranslationTable{
  ["affluence"] = "富贵",
  [":affluence"] = "锦囊牌<br /><b>时机</b>：出牌阶段<br /><b>目标</b>：你<br /><b>效果</b>目标的队友下次获得手牌后目标摸等量张牌。",
}

local laying_down = fk.CreateCard{
  type = Card.TypeTrick,
  name = "&laying_down",
  skill = "laying_down_skill",
}
Fk:loadTranslationTable{
  ["laying_down"] = "躺赢",
  [":laying_down"] = "锦囊牌<br /><b>时机</b>：出牌阶段<br /><b>目标</b>：一名队友<br /><b>效果</b>当前回合立即结束。你的队友下回合开始时选择额外执行一个摸牌或出牌阶段",
}

local the_thunder = fk.CreateCard{
  type = Card.TypeTrick,
  name = "&the_thunder",
  skill = "the_thunder_skill",
  multiple_targets = true,
}
Fk:loadTranslationTable{
  ["the_thunder"] = "天雷",
  [":the_thunder"] = "锦囊牌<br /><b>时机</b>：出牌阶段<br /><b>目标</b>：所有角色<br /><b>效果</b>目标角色依次将游戏外一张【闪电】置入判定区。",
}

local stand_by = fk.CreateCard{
  type = Card.TypeTrick,
  name = "&stand_by",
  skill = "stand_by_skill",
  multiple_targets = true,
}
Fk:loadTranslationTable{
  ["stand_by"] = "两肋插刀",
  [":stand_by"] = "锦囊牌<br /><b>时机</b>：出牌阶段<br /><b>目标</b>：无<br /><b>效果</b>所有人受到的伤害和体力流失由队友承担。将此牌移出游戏。",
}

local share_happiness = fk.CreateCard{
  type = Card.TypeTrick,
  name = "&share_happiness",
  skill = "share_happiness_skill",
  multiple_targets = true,
}
Fk:loadTranslationTable{
  ["share_happiness"] = "有福同享",
  [":share_happiness"] = "锦囊牌<br /><b>时机</b>：出牌阶段<br /><b>目标</b>：你<br /><b>效果</b>此阶段你对自己使用基本牌和普通锦囊牌时可以额外指定队友为目标。",
}

local adoptive_father = fk.CreateCard{
  type = Card.TypeTrick,
  name = "&adoptive_father",
  skill = "adoptive_father_skill",
  multiple_targets = true,
}
Fk:loadTranslationTable{
  ["adoptive_father"] = "义父",
  [":adoptive_father"] = "锦囊牌<br /><b>时机</b>：出牌阶段<br /><b>目标</b>：一名队友<br /><b>效果</b>队友之间争夺“义父”标记，“义子”准备阶段要给“义父”一张牌。",
}

local legend_back = fk.CreateCard{
  type = Card.TypeTrick,
  name = "&legend_back",
  skill = "legend_back_skill",
  multiple_targets = true,
}
Fk:loadTranslationTable{
  ["legend_back"] = "武圣归来",
  [":legend_back"] = "锦囊牌<br /><b>时机</b>：出牌阶段<br /><b>目标</b>：一名队友<br /><b>效果</b>令已死亡的队友复活。",
}

local encourage_drinking = fk.CreateCard{
  type = Card.TypeTrick,
  name = "&encourage_drinking",
  skill = "encourage_drinking_skill",
  multiple_targets = true,
}
Fk:loadTranslationTable{
  ["encourage_drinking"] = "劝酒",
  [":encourage_drinking"] = "锦囊牌<br /><b>时机</b>：出牌阶段<br /><b>目标</b>：无<br /><b>效果</b>所有人手牌随机变成【酒】，最先不喝的玩家受到每名其他角色造成的1点伤害。",
}

local fight_till_death = fk.CreateCard{
  type = Card.TypeTrick,
  name = "&fight_till_death",
  skill = "fight_till_death_skill",
  multiple_targets = true,
}
Fk:loadTranslationTable{
  ["fight_till_death"] = "你死我活",
  [":fight_till_death"] = "锦囊牌<br /><b>时机</b>：出牌阶段<br /><b>目标</b>：无<br /><b>效果</b>本轮所有人使用牌指定其他角色为目标后，先获得目标的一张牌。",
}

local golden_cymbals = fk.CreateCard{
  type = Card.TypeTrick,
  name = "&golden_cymbals",
  skill = "golden_cymbals_skill",
  multiple_targets = true,
}
Fk:loadTranslationTable{
  ["golden_cymbals"] = "金铙",
  [":golden_cymbals"] = "锦囊牌<br /><b>时机</b>：出牌阶段<br /><b>目标</b>：你与一名队友<br /><b>效果</b>目标获得一个“橘”",
}

local divine_weapon = fk.CreateCard{
  type = Card.TypeTrick,
  name = "&divine_weapon",
  skill = "divine_weapon_skill",
  multiple_targets = true,
}
Fk:loadTranslationTable{
  ["divine_weapon"] = "神兵",
  [":divine_weapon"] = "锦囊牌<br /><b>时机</b>：出牌阶段<br /><b>目标</b>：一名队友<br /><b>效果</b>躺赢。",
}

local raging_fire = fk.CreateCard{
  type = Card.TypeTrick,
  name = "&raging_fire",
  skill = "raging_fire_skill",
  multiple_targets = true,
}
Fk:loadTranslationTable{
  ["raging_fire"] = "烈火",
  [":raging_fire"] = "锦囊牌<br /><b>时机</b>：出牌阶段<br /><b>目标</b>：一名队友<br /><b>效果</b>躺赢。",
}

local eagle_and_wolf = fk.CreateCard{
  type = Card.TypeTrick,
  name = "&eagle_and_wolf",
  skill = "eagle_and_wolf_skill",
  multiple_targets = true,
}
Fk:loadTranslationTable{
  ["eagle_and_wolf"] = "鹰狼",
  [":eagle_and_wolf"] = "锦囊牌<br /><b>时机</b>：出牌阶段<br /><b>目标</b>：一名队友<br /><b>效果</b>躺赢。",
}

local all_suffering = fk.CreateCard{
  type = Card.TypeTrick,
  name = "&all_suffering",
  skill = "all_suffering_skill",
  multiple_targets = true,
}
Fk:loadTranslationTable{
  ["all_suffering"] = "有难同当",
  [":all_suffering"] = "锦囊牌<br /><b>时机</b>：出牌阶段<br /><b>目标</b>：所有角色<br /><b>效果</b>：每名目标角色横置。",
}

extension:loadCardSkels {
  big_master, affluence, laying_down, the_thunder, stand_by,
  share_happiness, adoptive_father, legend_back, encourage_drinking,
  eagle_and_wolf, fight_till_death, golden_cymbals, divine_weapon,
  raging_fire, all_suffering,
}

extension:addCardSpec("big_master", Card.Heart, 7)
extension:addCardSpec("affluence", Card.Heart, 7)
extension:addCardSpec("laying_down", Card.Heart, 7)
extension:addCardSpec("the_thunder", Card.Heart, 7)
extension:addCardSpec("stand_by", Card.Heart, 7)
extension:addCardSpec("share_happiness", Card.Heart, 7)
extension:addCardSpec("adoptive_father", Card.Heart, 7)
extension:addCardSpec("legend_back", Card.Heart, 7)
extension:addCardSpec("encourage_drinking", Card.Heart, 7)
extension:addCardSpec("eagle_and_wolf", Card.Heart, 7)
extension:addCardSpec("fight_till_death", Card.Heart, 7)
extension:addCardSpec("golden_cymbals", Card.Heart, 7)
extension:addCardSpec("divine_weapon", Card.Heart, 7)
extension:addCardSpec("raging_fire", Card.Heart, 7)
extension:addCardSpec("all_suffering", Card.Heart, 7)

return extension